gtk4.git
17 years agoDon't bother looking up EnumDisplayMonitors and GetMonitorInfoA
Tor Lillqvist [Sun, 3 Aug 2008 23:05:37 +0000 (23:05 +0000)]
Don't bother looking up EnumDisplayMonitors and GetMonitorInfoA

2008-08-04  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdisplay-win32.c: Don't bother looking up
EnumDisplayMonitors and GetMonitorInfoA dynamically, they are
present in NT-based Windows since Windows 2000.
(enum_monitor): For some reason the MONITORINFOEX struct in
mingw-win64 is different than the proper one as in MSDN and 32-bit
mingw, so just copy the proper definition here.

svn path=/trunk/; revision=20953

17 years agoBug 540379 – gtk_tree_view_enable_model_drag_dest and
Björn Lindqvist [Sun, 3 Aug 2008 19:38:21 +0000 (19:38 +0000)]
Bug 540379 – gtk_tree_view_enable_model_drag_dest and

2008-08-03  Björn Lindqvist  <bjourne@gmail.com>

Bug 540379 – gtk_tree_view_enable_model_drag_dest and
gtk_tree_view_enable_model_drag_source unsets reorderable property

* gtk/gtktreeview.c: Improve docstrings regarding reorderable
property.

svn path=/trunk/; revision=20952

17 years agoSupport GEmblemedIcon
Matthias Clasen [Sun, 3 Aug 2008 19:28:05 +0000 (19:28 +0000)]
Support GEmblemedIcon

svn path=/trunk/; revision=20951

17 years agoAdd translator comment
Matthias Clasen [Sun, 3 Aug 2008 19:25:00 +0000 (19:25 +0000)]
Add translator comment

svn path=/trunk/; revision=20950

17 years agoUpdated Galician translation
Ignacio Casal Quinteiro [Sun, 3 Aug 2008 18:36:36 +0000 (18:36 +0000)]
Updated Galician translation

svn path=/trunk/; revision=20949

17 years agoUpdated Galician translation
Ignacio Casal Quinteiro [Sun, 3 Aug 2008 18:32:40 +0000 (18:32 +0000)]
Updated Galician translation

svn path=/trunk/; revision=20948

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 3 Aug 2008 18:11:01 +0000 (18:11 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=20947

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 3 Aug 2008 17:57:40 +0000 (17:57 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=20946

17 years agoBug 538686 - gtkprintoperation-win32.c: devmode_from_settings
Tor Lillqvist [Sat, 2 Aug 2008 11:29:31 +0000 (11:29 +0000)]
Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings

2008-08-02  Tor Lillqvist  <tml@novell.com>

Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings

* gtk/gtkprintoperation-win32.c (devmode_from_settings): Plug
potential leak. Thanks to Morten Welinder.

svn path=/trunk/; revision=20944

17 years agogtk/gtkprint-win32.c gtk/gtkprint-win32.h Cosmetic fixups after patch
Tor Lillqvist [Sat, 2 Aug 2008 09:31:01 +0000 (09:31 +0000)]
gtk/gtkprint-win32.c gtk/gtkprint-win32.h Cosmetic fixups after patch

2008-08-02  Tor Lillqvist  <tml@novell.com>

* gtk/gtkprint-win32.c
* gtk/gtkprint-win32.h
* gtk/gtkprintoperation-win32.c: Cosmetic fixups after patch
below.

svn path=/trunk/; revision=20943

17 years agoBug 339699 - implement gtk_print_operation_set_show_dialog for Windows
Tor Lillqvist [Sat, 2 Aug 2008 09:27:47 +0000 (09:27 +0000)]
Bug 339699 - implement gtk_print_operation_set_show_dialog for Windows

2008-08-02  Tor Lillqvist  <tml@novell.com>

Bug 339699 - implement gtk_print_operation_set_show_dialog for
Windows

* gtk/gtkprint-win32.c
* gtk/gtkprint-win32.h
* gtk/gtkprintoperation-win32.c: Patch by ecyrbe@gmail.com.

svn path=/trunk/; revision=20942

17 years agoAdd new functions
Matthias Clasen [Sat, 2 Aug 2008 05:07:48 +0000 (05:07 +0000)]
Add new functions

svn path=/trunk/; revision=20941

17 years agoAdd GIcon support to GtkStatusIcon
Matthias Clasen [Sat, 2 Aug 2008 05:07:02 +0000 (05:07 +0000)]
Add GIcon support to GtkStatusIcon

svn path=/trunk/; revision=20940

17 years agoBug 429427 – Add "arrow-spacing" style property to GtkRange
Matthias Clasen [Sat, 2 Aug 2008 04:52:54 +0000 (04:52 +0000)]
Bug 429427 – Add "arrow-spacing" style property to GtkRange

2008-08-02  Matthias Clasen  <mclasen@redhat.com>

        Bug 429427 – Add "arrow-spacing" style property to GtkRange

        * gtk/gtkrange.c: Add an arrow-spacing style property.
        Patch by Carlos Garnacho and Christian Dywan

svn path=/trunk/; revision=20939

17 years agoBug 429411 – add style properties to set minimum progressbar
Matthias Clasen [Sat, 2 Aug 2008 04:48:47 +0000 (04:48 +0000)]
Bug 429411 – add style properties to set minimum progressbar

2008-08-02  Matthias Clasen  <mclasen@redhat.com>

        Bug 429411 – add style properties to set minimum progressbar
        width/height

        * gtk/gtkprogressbar.c: Add style properties for minimum size.
        Patch by Carlos Garnacho and Christian Dywan

svn path=/trunk/; revision=20938

17 years agolog entry
Matthias Clasen [Sat, 2 Aug 2008 04:46:13 +0000 (04:46 +0000)]
log entry

svn path=/trunk/; revision=20937

17 years agoImprove the docs
Matthias Clasen [Sat, 2 Aug 2008 04:45:15 +0000 (04:45 +0000)]
Improve the docs

svn path=/trunk/; revision=20936

17 years agoAdd an example to the docs
Matthias Clasen [Sat, 2 Aug 2008 04:42:36 +0000 (04:42 +0000)]
Add an example to the docs

svn path=/trunk/; revision=20935

17 years agoFix GtkBuilder examples
Matthias Clasen [Sat, 2 Aug 2008 04:37:47 +0000 (04:37 +0000)]
Fix GtkBuilder examples

svn path=/trunk/; revision=20934

17 years agoBug 540834 – Insensitive widgets cannot be grabbed
Matthias Clasen [Sat, 2 Aug 2008 04:35:02 +0000 (04:35 +0000)]
Bug 540834 – Insensitive widgets cannot be grabbed

2008-08-02  Matthias Clasen  <mclasen@redhat.com>

        Bug 540834 – Insensitive widgets cannot be grabbed

        * gtk/tmpl/gtkmain.sgml: Explain that insensitive widgets
        cannot be grabbed. Patch by Björn Lindqvist

svn path=/trunk/; revision=20933

17 years agoBug 539733 – No way to control treeview separator height
Matthias Clasen [Sat, 2 Aug 2008 04:32:12 +0000 (04:32 +0000)]
Bug 539733 – No way to control treeview separator height

svn path=/trunk/; revision=20932

17 years agoBug 65818 – rename gtk_window_set_default() and add getter for it
Matthias Clasen [Sat, 2 Aug 2008 04:29:47 +0000 (04:29 +0000)]
Bug 65818 – rename gtk_window_set_default() and add getter for it

svn path=/trunk/; revision=20931

17 years agoUse po/LINGUAS
Matthias Clasen [Sat, 2 Aug 2008 04:23:13 +0000 (04:23 +0000)]
Use po/LINGUAS

svn path=/trunk/; revision=20930

17 years agoImprove docs
Matthias Clasen [Sat, 2 Aug 2008 04:12:55 +0000 (04:12 +0000)]
Improve docs

svn path=/trunk/; revision=20929

17 years agoBug 545931 – small documentation typos
Claudio Saavedra [Sat, 2 Aug 2008 01:25:20 +0000 (01:25 +0000)]
Bug 545931 – small documentation typos

2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>

Bug 545931 – small documentation typos

* gtk/gtkcomboboxentry.c: Fix some typos in the documentation.

svn path=/trunk/; revision=20927

17 years agobuild gdkwindowimpl
Hans Breuer [Fri, 1 Aug 2008 14:43:22 +0000 (14:43 +0000)]
build gdkwindowimpl

2008-08-01  Hans Breuer  <hans@breuer.org>

* gdk/makefile.msc : build gdkwindowimpl

* gtk/gtkwidget.c : fix c99ism - declaration needs to be at the
start of a block

* tests/makefile.msc : update

svn path=/trunk/; revision=20926

17 years agoFix duplicately-added file, oops
Cody Russell [Fri, 1 Aug 2008 04:20:40 +0000 (04:20 +0000)]
Fix duplicately-added file, oops

svn path=/trunk/; revision=20925

17 years agoBug 56070 – Can't click button after setting it sensitive.
Cody Russell [Fri, 1 Aug 2008 03:30:50 +0000 (03:30 +0000)]
Bug 56070 – Can't click button after setting it sensitive.

2008-07-31  Cody Russell  <bratsche@gnome.org>

        Bug 56070 – Can't click button after setting it sensitive.

        * gtk/gtkwidget.[ch]
        * gtk/gtkwindow.c
        * gtk/gtkmain.c
        * gtk/gtkbutton.c
        * gtk/gtkprivate.h
        * gdk/gdkevents.h: Synthesize crossing events events where necessary.

        * gtk/tests/crossingevents.c: Add unit tests for crossing events.

        Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
        has worked on and helped out with this.

svn path=/trunk/; revision=20924

17 years agoBug 424207 – printing hangs on unreachable cups server
Matthias Clasen [Thu, 31 Jul 2008 23:56:17 +0000 (23:56 +0000)]
Bug 424207 – printing hangs on unreachable cups server

svn path=/trunk/; revision=20923

17 years agoUse a second-granularity timer.
Matthias Clasen [Thu, 31 Jul 2008 22:27:02 +0000 (22:27 +0000)]
Use a second-granularity timer.

svn path=/trunk/; revision=20922

17 years agoUse g_timeout_add_seconds
Matthias Clasen [Thu, 31 Jul 2008 22:19:07 +0000 (22:19 +0000)]
Use g_timeout_add_seconds

svn path=/trunk/; revision=20921

17 years agoAdd new api
Matthias Clasen [Thu, 31 Jul 2008 22:12:41 +0000 (22:12 +0000)]
Add new api

svn path=/trunk/; revision=20920

17 years agoAdd gdk_threads_add_timeout_seconds{_full}
Matthias Clasen [Thu, 31 Jul 2008 22:11:44 +0000 (22:11 +0000)]
Add gdk_threads_add_timeout_seconds{_full}

svn path=/trunk/; revision=20919

17 years agoUpdated Portuguese translation.
Duarte Loreto [Thu, 31 Jul 2008 11:17:10 +0000 (11:17 +0000)]
Updated Portuguese translation.

2008-07-31  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=20918

17 years agoUpdated Portuguese translation.
Duarte Loreto [Thu, 31 Jul 2008 10:47:42 +0000 (10:47 +0000)]
Updated Portuguese translation.

2008-07-31  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=20917

17 years agoFix problems in handling custom paper sizes. The DEVMODE::dmPaperWidth and
Tor Lillqvist [Wed, 30 Jul 2008 09:52:42 +0000 (09:52 +0000)]
Fix problems in handling custom paper sizes. The DEVMODE::dmPaperWidth and

2008-07-30  Tor Lillqvist  <tml@novell.com>

* gtk/gtkprintoperation-win32.c: Fix problems in handling custom
paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in
tenths of a millimeter, and the RECT passed to CreateEnhMetaFile()
is in hundredths of a millimeter. Patch by Sven Neumann.

svn path=/trunk/; revision=20916

17 years agoUpdated Arabic Translation by Khaled Hosny.
Djihed Afifi [Tue, 29 Jul 2008 01:32:57 +0000 (01:32 +0000)]
Updated Arabic Translation by Khaled Hosny.

svn path=/trunk/; revision=20913

17 years agoSmall doc improvement
Matthias Clasen [Mon, 28 Jul 2008 23:29:38 +0000 (23:29 +0000)]
Small doc improvement

svn path=/trunk/; revision=20912

17 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Mon, 28 Jul 2008 18:28:17 +0000 (18:28 +0000)]
Updated Norwegian bokmål translation.

2008-07-28  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=20911

17 years agoSupport rendering GEmblemedIcon
Matthias Clasen [Mon, 28 Jul 2008 16:15:14 +0000 (16:15 +0000)]
Support rendering GEmblemedIcon

svn path=/trunk/; revision=20910

17 years agoUpdated Japanese translation.
Takeshi AIHANA [Sun, 27 Jul 2008 12:30:13 +0000 (12:30 +0000)]
Updated Japanese translation.

2008-07-27  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=20909

17 years agoBug 544863 – gtkquartz.h not included in released 2.13.5 package
Sven Herzberg [Sat, 26 Jul 2008 23:58:34 +0000 (23:58 +0000)]
Bug 544863 – gtkquartz.h not included in released 2.13.5 package

2008-07-27  Sven Herzberg  <sven@imendio.com>

Bug 544863 – gtkquartz.h not included in released 2.13.5 package

* gtk/Makefile.am: explicitly include the moved header in EXTRA_DIST

svn path=/trunk/; revision=20908

17 years agoTerminology improvements by Vladimir Melo.
Leonardo Ferreira Fontenelle [Sat, 26 Jul 2008 01:09:51 +0000 (01:09 +0000)]
Terminology improvements by Vladimir Melo.

2008-07-25  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

* pt_BR.po: Terminology improvements by Vladimir Melo.

svn path=/trunk/; revision=20907

17 years agoTerminology improvements by Vladimir Melo.
Leonardo Ferreira Fontenelle [Sat, 26 Jul 2008 01:05:03 +0000 (01:05 +0000)]
Terminology improvements by Vladimir Melo.

2008-07-25  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

* pt_BR.po: Terminology improvements by Vladimir Melo.

svn path=/trunk/; revision=20906

17 years agoDocumented the activate and popup-menu signals as being for use by
Murray Cumming [Fri, 25 Jul 2008 15:42:41 +0000 (15:42 +0000)]
Documented the activate and popup-menu signals as being for use by

2008-07-25  Murray Cumming  <murrayc@murrayc.com>

* gtk/gtkstatusicon.c (gtk_status_icon_class_init):
Documented the activate and popup-menu signals as being for use
by applications and language bindings, though they are G_SIGNAL_ACTION,
as stated in bug #361561.

svn path=/trunk/; revision=20905

17 years agodon't try free gettext() values,
Sebastien Bacher [Thu, 24 Jul 2008 12:56:59 +0000 (12:56 +0000)]
don't try free gettext() values,
fix a printing dialog crasher (bug 544390)

svn path=/trunk/; revision=20904

17 years agoBug 544510 – SetTimer callback signatures has the wrong type
Cody Russell [Thu, 24 Jul 2008 12:55:53 +0000 (12:55 +0000)]
Bug 544510 – SetTimer callback signatures has the wrong type

2008-07-24  Cody Russell  <bratsche@gnome.org>

        Bug 544510 – SetTimer callback signatures has the wrong type

        * gdk/win32/gdkevents-win32.c: Fix modal_timer_proc() and
        sync_timer_proc() to use UINT_PTR for the 'id' parameter
        instead of 'id'.  Patch by Richard Hult.

svn path=/trunk/; revision=20903

17 years agoAdd translator hints
Matthias Clasen [Thu, 24 Jul 2008 04:02:37 +0000 (04:02 +0000)]
Add translator hints

svn path=/trunk/; revision=20902

17 years agoBug 544265 – GDK assumes XFIXES extension
Matthias Clasen [Thu, 24 Jul 2008 03:38:08 +0000 (03:38 +0000)]
Bug 544265 – GDK assumes XFIXES extension

2008-07-23  Matthias Clasen  <mclasen@redhat.com>

        Bug 544265 – GDK assumes XFIXES extension

        * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
        Only call XFixes functions if the server has the extension.
        Reported by Ian Turner.

svn path=/trunk/; revision=20901

17 years ago Updated Albanian translation.
Laurent Dhima [Wed, 23 Jul 2008 17:05:23 +0000 (17:05 +0000)]
 Updated Albanian translation.

svn path=/trunk/; revision=20900

17 years agosv.po: Updated Swedish translation
Daniel Nylander [Wed, 23 Jul 2008 15:42:49 +0000 (15:42 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=20899

17 years agoClarification.
Tor Lillqvist [Wed, 23 Jul 2008 09:09:34 +0000 (09:09 +0000)]
Clarification.

svn path=/trunk/; revision=20898

17 years agoMore correct content type handling
Matthias Clasen [Wed, 23 Jul 2008 04:20:15 +0000 (04:20 +0000)]
More correct content type handling

svn path=/trunk/; revision=20897

17 years agoFix svn:ignore and the include condition
Sven Herzberg [Tue, 22 Jul 2008 21:21:53 +0000 (21:21 +0000)]
Fix svn:ignore and the include condition

2008-07-22  Sven Herzberg  <sven@imendio.com>

Fix svn:ignore and the include condition

* gdk/tests/check-gdk-cairo.c: ifndef => ifdef

svn path=/trunk/; revision=20896

17 years agoWorkaround for what apparently is a bug in MSYS: returning -1 from main()
Tor Lillqvist [Tue, 22 Jul 2008 20:14:01 +0000 (20:14 +0000)]
Workaround for what apparently is a bug in MSYS: returning -1 from main()

2008-07-22  Tor Lillqvist  <tml@novell.com>

* configure.in: Workaround for what apparently is a bug in MSYS:
returning -1 from main() is misinterpreted as exit status 0, so
make sure we return 0 or 1.

svn path=/trunk/; revision=20895

17 years agoAdd a test for my fixes from July 20th.
Sven Herzberg [Tue, 22 Jul 2008 18:50:54 +0000 (18:50 +0000)]
Add a test for my fixes from July 20th.

2008-07-22  Sven Herzberg  <sven@imendio.com>

Add a test for my fixes from July 20th.

* configure.in: create gdk/tests/Makefile
* gdk/Makefile.am: include the tests subfolder
* gdk/tests/Makefile.am: create and run my test
* gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote
(passes at least for x11 and quartz backends)

svn path=/trunk/; revision=20894

17 years agoDon't use RandR 1.2 if driver is detected as randr12_compat (ie X driver
Frederic Crozat [Tue, 22 Jul 2008 17:41:39 +0000 (17:41 +0000)]
Don't use RandR 1.2 if driver is detected as randr12_compat (ie X driver

2008-07-22  Frederic Crozat  <fcrozat@mandriva.com>

        * gdk/x11/gdkscreen-x11.c: Don't use RandR 1.2
        if driver is detected as randr12_compat (ie X driver
        is not RandR 1.2 compliant). Fixes multihead with
        such drivers. Bug #543317.

svn path=/trunk/; revision=20893

17 years agosv.po: Updated Swedish translation
Daniel Nylander [Tue, 22 Jul 2008 15:52:09 +0000 (15:52 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=20892

17 years agoDefault to linking against Xinerama again, so that we can fallback to
Matthias Clasen [Tue, 22 Jul 2008 15:07:14 +0000 (15:07 +0000)]
Default to linking against Xinerama again, so that we can fallback to

        * configure.in: Default to linking against Xinerama again,
        so that we can fallback to Xinerama when broken X drivers
        make Xrandr useless. Sigh.

svn path=/trunk/; revision=20891

17 years agoBump version
Matthias Clasen [Tue, 22 Jul 2008 00:44:04 +0000 (00:44 +0000)]
Bump version

svn path=/trunk/; revision=20890

17 years ago2.13.5
Matthias Clasen [Tue, 22 Jul 2008 00:39:10 +0000 (00:39 +0000)]
2.13.5

svn path=/trunk/; revision=20888

17 years agoDoc fixes
Matthias Clasen [Mon, 21 Jul 2008 23:23:41 +0000 (23:23 +0000)]
Doc fixes

svn path=/trunk/; revision=20887

17 years agoPolish translation update
Tomasz Dominikowski [Mon, 21 Jul 2008 15:20:53 +0000 (15:20 +0000)]
Polish translation update

svn path=/trunk/; revision=20886

17 years agouse gtk_box_pack_start() instead of the deprecated
Michael Natterer [Mon, 21 Jul 2008 14:35:51 +0000 (14:35 +0000)]
use gtk_box_pack_start() instead of the deprecated

2008-07-21  Michael Natterer  <mitch@imendio.com>

* gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
the deprecated gtk_box_pack_start_defaults().

* gtk/gtkbindings.c (gtk_binding_entry_add_signal)
(gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
instead of the deprecated gtk_binding_entry_add_signall().

svn path=/trunk/; revision=20885

17 years agoUse GSlice to allocate the application data for recently used resources;
Emmanuele Bassi [Mon, 21 Jul 2008 13:37:15 +0000 (13:37 +0000)]
Use GSlice to allocate the application data for recently used resources;

2008-07-21  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c:
(recent_app_info_new), (recent_app_info_free): Use GSlice to
allocate the application data for recently used resources;
do not call time() to initialize the timestamp, as it will
be overwritten anyway later. (#535223, Michael Meeks)

svn path=/trunk/; revision=20884

17 years agoBug 543989 - Crash in gtk_tree_view_size_allocate_columns
Kristian Rietveld [Mon, 21 Jul 2008 13:32:05 +0000 (13:32 +0000)]
Bug 543989 - Crash in gtk_tree_view_size_allocate_columns

2008-07-21  Kristian Rietveld  <kris@gtk.org>

Bug 543989 - Crash in gtk_tree_view_size_allocate_columns

* gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
for width_changed != NULL.  (Patch by Josselin Mouette).

svn path=/trunk/; revision=20883

17 years agoBug 442042 – GtkScaleButton is too limited
Michael Natterer [Mon, 21 Jul 2008 12:58:36 +0000 (12:58 +0000)]
Bug 442042 – GtkScaleButton is too limited

2008-07-21  Michael Natterer  <mitch@imendio.com>

Bug 442042 – GtkScaleButton is too limited

* tests/testvolumebutton.c: forgot to commit code that tests
toggling the button's orientation. Also fixes the file's coding
style.

svn path=/trunk/; revision=20882

17 years agoBug 153567 – Repaint glitches in widgets
Cody Russell [Mon, 21 Jul 2008 12:46:41 +0000 (12:46 +0000)]
Bug 153567 – Repaint glitches in widgets

2008-07-21  Cody Russell  <bratsche@gnome.org>

        Bug 153567 – Repaint glitches in widgets

        * gdk/win32/gdkevents-win32.c: Set a sync timer when
        we receive WM_SYNCPAINT, and RedrawWindow() once
        the timer expires.

svn path=/trunk/; revision=20881

17 years agouse the simpler g_signal_override_class_handler() instead of
Michael Natterer [Mon, 21 Jul 2008 12:27:30 +0000 (12:27 +0000)]
use the simpler g_signal_override_class_handler() instead of

2008-07-21  Michael Natterer  <mitch@imendio.com>

* gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
g_signal_override_class_handler() instead of
g_signal_override_class_closure().

* gtk/gtktextview.c (gtk_text_view_class_init): ditto.

(gtk_text_view_compat_move_focus): chain up using
g_signal_chain_from_overridden_handler() instead of the generic
g_signal_chain_from_overridden() which needs manual fiddling with
millions of GValues.

svn path=/trunk/; revision=20880

17 years agoPolish translation update by Aviary.pl
Tomasz Dominikowski [Mon, 21 Jul 2008 12:23:25 +0000 (12:23 +0000)]
Polish translation update by Aviary.pl

svn path=/trunk/; revision=20879

17 years agoremove redundant include.
Michael Natterer [Mon, 21 Jul 2008 12:23:22 +0000 (12:23 +0000)]
remove redundant include.

2008-07-21  Michael Natterer  <mitch@imendio.com>

* gtk/gtkuimanager.c: remove redundant include.

svn path=/trunk/; revision=20878

17 years agoPolish translation update
Tomasz Dominikowski [Mon, 21 Jul 2008 10:55:33 +0000 (10:55 +0000)]
Polish translation update

svn path=/trunk/; revision=20875

17 years agoremove _gtk_binding_signal_new().
Michael Natterer [Mon, 21 Jul 2008 09:48:20 +0000 (09:48 +0000)]
remove _gtk_binding_signal_new().

2008-07-21  Michael Natterer  <mitch@imendio.com>

* gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().

* gtk/gtkfilechooserdefault.c
* gtk/gtkmenu.c
* gtk/gtkmenushell.c
* gtk/gtkscalebutton.c
* gtk/gtktextview.c
* gtk/gtktoolbar.c
* gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
some missing I_() to the signal names.

svn path=/trunk/; revision=20874

17 years agoremove g_return_if_fail() from private functions and virtual function
Michael Natterer [Mon, 21 Jul 2008 09:41:28 +0000 (09:41 +0000)]
remove g_return_if_fail() from private functions and virtual function

2008-07-21  Michael Natterer  <mitch@imendio.com>

* gtk/gtkspinbutton.c: remove g_return_if_fail() from private
functions and virtual function implementations. Some minor
cleanups.

svn path=/trunk/; revision=20873

17 years agoBug 543915 - translation issues
Andre Klapper [Sun, 20 Jul 2008 22:03:32 +0000 (22:03 +0000)]
Bug 543915 - translation issues

2008-07-20  Andre Klapper  <a9016009@gmx.de>

Bug 543915 - translation issues

* modules/printbackends/cups/gtkprintbackendcups.c:
Add translator comments for several strings.

svn path=/trunk/; revision=20872

17 years agoUpdated German translation.
Andre Klapper [Sun, 20 Jul 2008 21:58:05 +0000 (21:58 +0000)]
Updated German translation.

2008-07-20  Andre Klapper  <a9016009@gmx.de>

* de.po: Updated German translation.

svn path=/trunk/; revision=20871

17 years agoreviewed by: Richard Hult
Sven Herzberg [Sun, 20 Jul 2008 19:22:37 +0000 (19:22 +0000)]
reviewed by: Richard Hult

2008-07-20  Sven Herzberg  <sven@imendio.com>

reviewed by: Richard Hult

Fixes #543868: GdkPixmap is upside down on quartz

* gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
coordinate space from GTK+ orientation to CoreGraphics orientation
before calling CoreGraphics code
* gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
coordinate space flipping (we always get it right, now)
* gdk/quartz/gdkpixmap-quartz.c
(gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
creating the CGContextRef

svn path=/trunk/; revision=20870

17 years agoreviewed by: Richard Hult
Sven Herzberg [Sun, 20 Jul 2008 16:14:35 +0000 (16:14 +0000)]
reviewed by: Richard Hult

2008-07-20  Sven Herzberg  <sven@imendio.com>

reviewed by: Richard Hult

Extracted the CGContextRef creation into a virtual function of
GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
GdkWindow

* gdk/quartz/gdkdrawable-quartz.c
(gdk_quartz_drawable_get_context): dropped the different
implementations; forward to the virtual function now
* gdk/quartz/gdkdrawable-quartz.h: added the virtual function
* gdk/quartz/gdkpixmap-quartz.c
(gdk_pixmap_impl_quartz_get_context),
(gdk_pixmap_impl_quartz_class_init): implemented get_context()
* gdk/quartz/gdkwindow-quartz.c
(gdk_window_impl_quartz_get_context),
(gdk_window_impl_quartz_class_init): implemented get_context()

svn path=/trunk/; revision=20869

17 years agoAdd tons of new api
Matthias Clasen [Sun, 20 Jul 2008 01:22:37 +0000 (01:22 +0000)]
Add tons of new api

svn path=/trunk/; revision=20868

17 years agoImprove the docs
Matthias Clasen [Sun, 20 Jul 2008 00:58:11 +0000 (00:58 +0000)]
Improve the docs

svn path=/trunk/; revision=20867

17 years agoUpdates
Matthias Clasen [Sat, 19 Jul 2008 22:57:02 +0000 (22:57 +0000)]
Updates

svn path=/trunk/; revision=20866

17 years agoRemove the old icon cache if regenerating it would cause it to be empty
Federico Mena Quintero [Fri, 18 Jul 2008 19:28:13 +0000 (19:28 +0000)]
Remove the old icon cache if regenerating it would cause it to be empty

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=20865

17 years agoFix a crash
Matthias Clasen [Fri, 18 Jul 2008 19:07:39 +0000 (19:07 +0000)]
Fix a crash

svn path=/trunk/; revision=20864

17 years agoAvoid a crash
Matthias Clasen [Fri, 18 Jul 2008 19:03:54 +0000 (19:03 +0000)]
Avoid a crash

svn path=/trunk/; revision=20863

17 years agoDon't do funny casts to avoid compiler warnings
Federico Mena Quintero [Fri, 18 Jul 2008 18:27:30 +0000 (18:27 +0000)]
Don't do funny casts to avoid compiler warnings
2008-07-18  Federico Mena Quintero  <federico@novell.com>

* demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
do funny casts to avoid compiler warnings.

* demos/gtk-demo/textview.c (easter_egg_callback): Likewise.

* gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.

* gtk/gtkmodules.c (load_module): Likewise.

* gtk/gtkselection.c (gtk_selection_convert): Likewise.

* gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.

* gtk/queryimmodules.c (query_module): Likewise.

* tests/testgtk.c (create_gridded_geometry, create_key_lookup)
(find_widget_at_pointer): Likewise.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=20862

17 years agoAdd a forgotten hunk
Matthias Clasen [Fri, 18 Jul 2008 15:51:06 +0000 (15:51 +0000)]
Add a forgotten hunk

svn path=/trunk/; revision=20861

17 years agoMake aliasfilecheck.sh pass for the quartz backend, too.
Sven Herzberg [Fri, 18 Jul 2008 15:49:14 +0000 (15:49 +0000)]
Make aliasfilecheck.sh pass for the quartz backend, too.

2008-07-18  Sven Herzberg  <sven@imendio.com>

Make aliasfilecheck.sh pass for the quartz backend, too.

* gtk/Makefile.am: don't include gtkquartz.h in the list of c files

svn path=/trunk/; revision=20860

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Fri, 18 Jul 2008 13:41:42 +0000 (13:41 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=20859

17 years agoUpdated Finnish translation
Ilkka Tuohela [Fri, 18 Jul 2008 13:06:33 +0000 (13:06 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=20858

17 years agoUpdated assamese translations
Amitakhya Phukan [Thu, 17 Jul 2008 06:26:57 +0000 (06:26 +0000)]
Updated assamese translations

svn path=/trunk/; revision=20855

17 years agoAdded Entry for addition of Pashto (ps) to ALL_LINGUAS in configure.in
Runa Bhattacharjee [Thu, 17 Jul 2008 05:56:22 +0000 (05:56 +0000)]
Added Entry for addition of Pashto (ps) to ALL_LINGUAS in configure.in

svn path=/trunk/; revision=20854

17 years agoAdded Pashto (ps) to ALL_LINGUAS
Runa Bhattacharjee [Thu, 17 Jul 2008 05:55:42 +0000 (05:55 +0000)]
Added Pashto (ps) to ALL_LINGUAS

svn path=/trunk/; revision=20853

17 years agoAdded Entry for addition of Pashto (ps) Translations by Zabeeh Khan
Runa Bhattacharjee [Thu, 17 Jul 2008 05:54:49 +0000 (05:54 +0000)]
Added Entry for addition of Pashto (ps) Translations by Zabeeh Khan

svn path=/trunk/; revision=20852

17 years agoAdded Entry for addition of Pashto (ps) Translations by Zabeeh Khan
Runa Bhattacharjee [Thu, 17 Jul 2008 05:54:28 +0000 (05:54 +0000)]
Added Entry for addition of Pashto (ps) Translations by Zabeeh Khan

svn path=/trunk/; revision=20851

17 years agoAdded Pashto Translations by Zabeeh Khan
Runa Bhattacharjee [Thu, 17 Jul 2008 05:53:21 +0000 (05:53 +0000)]
Added Pashto Translations by Zabeeh Khan

svn path=/trunk/; revision=20850

17 years agoAdded Pashto Translations by Zabeeh Khan
Runa Bhattacharjee [Thu, 17 Jul 2008 05:52:55 +0000 (05:52 +0000)]
Added Pashto Translations by Zabeeh Khan

svn path=/trunk/; revision=20849

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Wed, 16 Jul 2008 20:38:11 +0000 (20:38 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=20848

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Wed, 16 Jul 2008 20:37:53 +0000 (20:37 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=20847

17 years agoops, forgot a test in the last commit
Paolo Borelli [Wed, 16 Jul 2008 15:45:08 +0000 (15:45 +0000)]
ops, forgot a test in the last commit

svn path=/trunk/; revision=20846

17 years agoBug 447998 - GtkBuilder does not support building parts of the xml tree
Paolo Borelli [Wed, 16 Jul 2008 15:36:53 +0000 (15:36 +0000)]
Bug 447998 - GtkBuilder does not support building parts of the xml tree

2008-07-15  Paolo Borelli  <pborelli@katamail.com>

Bug 447998 - GtkBuilder does not support building parts of the xml tree

* gtk/gtkbuilder.c:
* gtk/gtkbuilder.h:
* gtk/gtkbuilderprivate.h:
* gtk/gtkbuilderparser.c:
* gtk/gtk.symbols:
Add two new functions that allow cherry picking and construct
objects from a ui description file or string.

* gtk/tests/builder.c: tests for the above.

svn path=/trunk/; revision=20845